﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IMS_1._0
{
    public partial class Master_Branch : Form
    {
        public Master_Branch()
        {
            InitializeComponent();
        }
        int check_details()
        {
            int cd = 0;
            if (txt_email_Master_Branch.Text == "")
            {
                errorProvider1.SetError(txt_email_Master_Branch, "Email Id should be valid");
                cd = 1;
            }
            if (txt_phoneno_Master_Branch.Text == "")
            {
                errorProvider1.SetError(txt_phoneno_Master_Branch, "Phone no should be proper");
                cd = 1;
            }
            return cd;
        }
    }
}
